
import styles from "./index.module.less"
const Login = () => {
    const navigate = useNavigate();
    const submitLogin = () => {
        navigate('/home', { replace: true })
    }
    return (
        <div className={styles.content}>
          <h1 onClick={submitLogin}>跳转首页</h1>
          <h1>Rsbuild with React</h1>
          <p>Start building amazing things with Rsbuild.</p>
        </div>
    );
};

export default Login;
